package com.icinfo.cloud.provider.punish.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;


/**
 * 移动端直通车-发送文书短信通知
 *
 * @author Junfeng.Chen
 * @date 2023/12/21 19:21
 **/
@Data
@NoArgsConstructor
public class AppDocumentSendNotifyDto implements Serializable {
    /**
     * 文书Id
     */
    @NotBlank(message = "文书Id不能为空")
    private String documentId;

    @NotBlank(message = "通知手机号不能为空")
    @Pattern(regexp = "^1[3456789]\\d{9}$", message = "手机号格式不正确")
    private String mobile;

}
